Tootsville::Login-Fail

Function

Login-Fail names a function, with lambda list (ERR2 MSG CLIENT):

Sends a login failure message.

{ from: "login",
  status: false,
  err: "login.fail",
  msg: "User-visible error message",
  err2: "unique error token" }

err2 is an unique error token to identify the specific reason why login was denied in machine-readable form. msg conveys approximately the same information, but in a form suitable for relaying to the end user.

hashfail

The password hash submitted was incorrect. Refer to TOOTSVILLE INFINITY-LOGIN for the proper structure of the login packet. This usually, if the software is conforming, means that the user entered a bad password.

no-apple

The client did not obtain an apple with which to create the password hash.

no-Toot

The Toot named does not exist.

no-zone

The Zone named does not exist. Only $Eden is a valid Zone name.

not-child

The Toot named was not a child Toot. Login by password is for children only; adults use third-party authentication (eg, Firebase for Google and Twitter) to log in.

For an overview of the child login process, see TOOTSVILLE INFINITY-GET-APPLE.

File

Defined in file src/websockets.lisp.